package org.jeecg.modules.hbjh.requestVo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.bocom.api.AbstractBocomRequest;
import com.bocom.api.BizContent;
import org.jeecg.modules.hbjh.responseVo.FullElcReceiptBackfillResponseV1;

import java.util.List;


public class FullElcReceiptBackfillRequestV1 extends AbstractBocomRequest<FullElcReceiptBackfillResponseV1> {

  @Override
  public Class<FullElcReceiptBackfillResponseV1> getResponseClass() {
    return FullElcReceiptBackfillResponseV1.class;
  }
  @Override
  public boolean isNeedEncrypt() {
    return false;
  }

  @Override
  public String getMethod() {
    return "POST";
  }

  @Override
  public Class<? extends BizContent> getBizContentClass() {
    return FullElcReceiptBackfillRequestV1Biz.class;
  }



  public static class FullElcReceiptBackfillRequestV1Biz implements BizContent {

     /** 操作类型，1:开票 2:作废 3:红冲 4:单据删除*/
     @JsonProperty("czlx")
     private String czlx;

     /** 返回代码，0成功，其它失败*/
     @JsonProperty("code")
     private String code;

     /** 返回信息，成功/失败*/
     @JsonProperty("msg")
     private String msg;

     /** 失败原因具体描述*/
     @JsonProperty("renson")
     private String renson;

     /** 单据编号*/
     @JsonProperty("djbh")
     private String djbh;

     /** 单据编号数组，多单据合并开票时有值*/
     @JsonProperty("djbhs")
     private String djbhs;

     /** 全电发票号码*/
     @JsonProperty("qdfphm")
     private String qdfphm;

     /** 发票代码，纸质发票时有值*/
     @JsonProperty("fpdm")
     private String fpdm;

     /** 发票号码，纸质发票时有值*/
     @JsonProperty("fphm")
     private String fphm;

     /** 发票类型代码，01:增值税专用发票,02:普通发票*/
     @JsonProperty("fplxdm")
     private String fplxdm;

     /** 开票日期*/
     @JsonProperty("kprq")
     private String kprq;

     /** 含税金额*/
     @JsonProperty("hsje")
     private String hsje;

     /** 合计金额*/
     @JsonProperty("je")
     private String je;

     /** 合计税额*/
     @JsonProperty("se")
     private String se;

     /** 电子发票PDF地址，电子发票有值*/
     @JsonProperty("pdf")
     private String pdf;

     /** 电子发票OFD地址，电子发票有值*/
     @JsonProperty("ofd")
     private String ofd;

     /** 电子发票XML地址，电子发票有值*/
     @JsonProperty("xml")
     private String xml;

     /** 部门代码*/
     @JsonProperty("bmdm")
     private String bmdm;

     /** 数据类型，业务系统代号,如1:代表批发系统 2:代表零售系统*/
     @JsonProperty("sjlx")
     private String sjlx;

     /** 数据来源*/
     @JsonProperty("sjly")
     private String sjly;

     /** 备注*/
     @JsonProperty("bz")
     private String bz;

	/** "商品明细 企业开启全票面返回时有值"*/
	@JsonProperty("mxxx")
	private List<Mxxx> mxxx;

	public static class Mxxx {
     /** 单据行号,商品明细序号，整数*/
     @JsonProperty("djhh")
     private String djhh;

     /** 发票行性质，0:正常行，1:折扣行(折扣行金额负)，2:被折扣行(被折扣行金额正)*/
     @JsonProperty("fphxz")
     private String fphxz;

     /** 含税标志，0:不含税1:含税(默认)*/
     @JsonProperty("hsbz")
     private String hsbz;

     /** 商品名称*/
     @JsonProperty("spmc")
     private String spmc;

     /** 税收编码*/
     @JsonProperty("ssbm")
     private String ssbm;

     /** 规格型号*/
     @JsonProperty("ggxh")
     private String ggxh;

     /** 计量单位，成品油只能为升或吨*/
     @JsonProperty("jldw")
     private String jldw;

     /** 含税单价，商品含税单价*/
     @JsonProperty("hsdj")
     private String hsdj;

     /** 商品数量*/
     @JsonProperty("spsl")
     private String spsl;

     /** 含税金额*/
     @JsonProperty("hsje")
     private String hsje;

     /** 不含税单价*/
     @JsonProperty("bhsdj")
     private String bhsdj;

     /** 不含税金额*/
     @JsonProperty("bhsje")
     private String bhsje;

     /** 税率*/
     @JsonProperty("tax")
     private String tax;

     /** 税额*/
     @JsonProperty("se")
     private String se;

	public String getDjhh() {
		return djhh;
	}

	public void setDjhh(String djhh) {
		this.djhh = djhh;
	}
	public String getFphxz() {
		return fphxz;
	}

	public void setFphxz(String fphxz) {
		this.fphxz = fphxz;
	}
	public String getHsbz() {
		return hsbz;
	}

	public void setHsbz(String hsbz) {
		this.hsbz = hsbz;
	}
	public String getSpmc() {
		return spmc;
	}

	public void setSpmc(String spmc) {
		this.spmc = spmc;
	}
	public String getSsbm() {
		return ssbm;
	}

	public void setSsbm(String ssbm) {
		this.ssbm = ssbm;
	}
	public String getGgxh() {
		return ggxh;
	}

	public void setGgxh(String ggxh) {
		this.ggxh = ggxh;
	}
	public String getJldw() {
		return jldw;
	}

	public void setJldw(String jldw) {
		this.jldw = jldw;
	}
	public String getHsdj() {
		return hsdj;
	}

	public void setHsdj(String hsdj) {
		this.hsdj = hsdj;
	}
	public String getSpsl() {
		return spsl;
	}

	public void setSpsl(String spsl) {
		this.spsl = spsl;
	}
	public String getHsje() {
		return hsje;
	}

	public void setHsje(String hsje) {
		this.hsje = hsje;
	}
	public String getBhsdj() {
		return bhsdj;
	}

	public void setBhsdj(String bhsdj) {
		this.bhsdj = bhsdj;
	}
	public String getBhsje() {
		return bhsje;
	}

	public void setBhsje(String bhsje) {
		this.bhsje = bhsje;
	}
	public String getTax() {
		return tax;
	}

	public void setTax(String tax) {
		this.tax = tax;
	}
	public String getSe() {
		return se;
	}

	public void setSe(String se) {
		this.se = se;
	}
}     /** 请求方机构编号*/
     @JsonProperty("reqOrgCode")
     private String reqorgcode;

	public String getCzlx() {
		return czlx;
	}

	public void setCzlx(String czlx) {
		this.czlx = czlx;
	}
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	  public String getMsg() {
		  return msg;
	  }

	  public void setMsg(String msg) {
		  this.msg = msg;
	  }

	  public String getRenson() {
		return renson;
	}

	public void setRenson(String renson) {
		this.renson = renson;
	}
	public String getDjbh() {
		return djbh;
	}

	public void setDjbh(String djbh) {
		this.djbh = djbh;
	}
	public String getDjbhs() {
		return djbhs;
	}

	public void setDjbhs(String djbhs) {
		this.djbhs = djbhs;
	}
	public String getQdfphm() {
		return qdfphm;
	}

	public void setQdfphm(String qdfphm) {
		this.qdfphm = qdfphm;
	}
	public String getFpdm() {
		return fpdm;
	}

	public void setFpdm(String fpdm) {
		this.fpdm = fpdm;
	}
	public String getFphm() {
		return fphm;
	}

	public void setFphm(String fphm) {
		this.fphm = fphm;
	}
	public String getFplxdm() {
		return fplxdm;
	}

	public void setFplxdm(String fplxdm) {
		this.fplxdm = fplxdm;
	}
	public String getKprq() {
		return kprq;
	}

	public void setKprq(String kprq) {
		this.kprq = kprq;
	}
	public String getHsje() {
		return hsje;
	}

	public void setHsje(String hsje) {
		this.hsje = hsje;
	}
	public String getJe() {
		return je;
	}

	public void setJe(String je) {
		this.je = je;
	}
	public String getSe() {
		return se;
	}

	public void setSe(String se) {
		this.se = se;
	}
	public String getPdf() {
		return pdf;
	}

	public void setPdf(String pdf) {
		this.pdf = pdf;
	}
	public String getOfd() {
		return ofd;
	}

	public void setOfd(String ofd) {
		this.ofd = ofd;
	}
	public String getXml() {
		return xml;
	}

	public void setXml(String xml) {
		this.xml = xml;
	}
	public String getBmdm() {
		return bmdm;
	}

	public void setBmdm(String bmdm) {
		this.bmdm = bmdm;
	}
	public String getSjlx() {
		return sjlx;
	}

	public void setSjlx(String sjlx) {
		this.sjlx = sjlx;
	}
	public String getSjly() {
		return sjly;
	}

	public void setSjly(String sjly) {
		this.sjly = sjly;
	}
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}
	public List<Mxxx> getMxxx() {
		return mxxx;
	}

	public void setMxxx(List<Mxxx> mxxx) {
		this.mxxx = mxxx;
	}
	public String getReqorgcode() {
		return reqorgcode;
	}

	public void setReqorgcode(String reqorgcode) {
		this.reqorgcode = reqorgcode;
	}
}
}
